from flask import Blueprint

# 创建蓝图
resource_bp = Blueprint('resource', __name__, url_prefix='/resource')
search_bp = Blueprint('search', __name__, url_prefix='/search')

# 导入路由模块
from . import resource
from . import search

# 其他蓝图暂时注释
# translate_bp = Blueprint('translate', __name__, url_prefix='/translate')
# auth_bp = Blueprint('auth', __name__)

# 不在这里导入路由模块，而是在注册蓝图时导入 